import QtBaseController, {
  CLIENT_NORMAL
} from './qtWebBridge/QtBaseController'
import {GetHtmlUrlQueryString, GetQtController} from './qtWebBridge/QtUtils'

export default class ProjectQtController extends QtBaseController {
  preInit() {
      super.preInit();
      this.inParam.isShowLogin = false;
      this.inParam.clientType = CLIENT_NORMAL;
      this.inParam.isRemoteRender = false;
      this.inParam.isWebSocket = false;
      this.inParam.isAutoScaleScreen = false;
      this.axios.defaults.withCredentials = false

    }

  Web_ShowLabel(obj) {
    let paramJson = {
      "ParamList": [
        { "param": obj },
      ]
    };
    let strLabelType = this.CreateParam("Web_ShowLabel", paramJson);
    this.ToQtCommand(strLabelType);
  }
}


